![]() |
SetSysDirection |
||||
Header: | Script.h | Carbon status: | Supported | |
Sets the value of SysDirection, the global variable that determines the system direction (primary line direction).
void SetSysDirection ( SInt16 value );
The desired value for SysDirection:0 if you wish the system direction to be left-to-right and 1 ($FFFF) if you wish the system direction to be right-to-left.
The value of SysDirection is initialized from the system’s international configuration resource, and may be controlled by the user. Your application can use the SetSysDirection function to change SysDirection while drawing, but should restore it when appropriate (such as when your application becomes inactive).
Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)